using Demo.Common;
using Microsoft.AspNetCore.Mvc;

namespace Demo.Web.Controllers
{
    public class HomeController : Controller
    {
        public string Index()
        {
            return new { name = "joes", age = 35 }.ToJson(true);
        }

        public object Test()
        {
            return new { name = "joes", age = 35 };
        }
    }
}